package com.bkgy.modularbx.coil_prod_stats.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 来料卷重范围查询条件DTO
 *
 * @author dell
 * @date 2025-01-06
 */
@Data
@Schema(description = "来料卷重范围查询条件")
public class MaterialWeightRangeQueryDTO {

    @Schema(description = "钢种", example = "DP590-D")
    private String steelGrade;
    
    /**
     * 产线代码
     */
    @Schema(description = "产线代码")
    private String lineCode;
    
    /**
     * 统计时间类型（1-按月统计，2-按日统计，3-按时间范围统计）
     */
    @Schema(description = "统计时间类型（1-按月统计，2-按日统计，3-按时间范围统计）")
    private Integer timeType;

    @Schema(description = "开始时间", example = "2024-01-01", required = true)
    @NotBlank(message = "开始时间不能为空")
    private String startDate;

    @Schema(description = "结束时间", example = "2024-12-31", required = true)
    @NotBlank(message = "结束时间不能为空")
    private String endDate;
}